package com.weasel.weixin.commons.menu.builder;

import com.weasel.weixin.commons.menu.bean.Menu;

/**
 * Created by Dylan on 2015/10/9.
 */
public class MenuBuilder {

    private Menu menu = new Menu();

    public MenuBuilder button(AbstractButtonBuilder buttonBuilder){

        menu.addButton(buttonBuilder.build());
        return this;
    }

    public Menu build(){
        return menu;
    }
}
